package com.imnc.eatmap.ui.adapter.base;

import java.util.ArrayList;
import java.util.List;

import android.widget.BaseAdapter;

public abstract class NormalListAdapter<T> extends BaseAdapter {

	protected List<T> itemContent = null;

	protected NormalListAdapter() {
		itemContent = new ArrayList<T>();
	}

	@Override
	public int getCount() {
		return itemContent.size();
	}

	@Override
	public Object getItem(int arg0) {
		return itemContent.get(arg0);
	}

	@Override
	public long getItemId(int arg0) {
		return arg0;
	}

	public void setItemContent(List<T> itemContent) {
		this.itemContent = itemContent;
	}

}
